package com.ruoyi.appService.mentalTestList.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 心理测试对象 z_mentaltest
 *
 * @author anjiao
 * @date 2025-05-10
 */
@Data
@TableName( "z_mentaltest")
public class ZMentaltest extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** 心理测试id */
        @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /** 测试名称 */
            @Excel(name = "测试名称")
    private String testName;

    /** 测试题总数 */
            @Excel(name = "测试题总数")
    private Long testTotal;

    /** 页面跳转url */
            @Excel(name = "页面跳转url")
    private String url;

//            图片路径
            private String pictureurl;

//            测试详情
            private String testInfo;




            @Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id" ,getId())
            .append("testName" ,getTestName())
            .append("testTotal" ,getTestTotal())
            .append("createTime" ,getCreateTime())
            .append("url" ,getUrl())
        .toString();
        }
        }